package com.olocat.cjx.nsims.dao

import com.olocat.cjx.nsims.pojo.personnel.Nurse
import org.springframework.data.jpa.repository.JpaRepository

interface NurseRepository : JpaRepository<Nurse, String>{
    fun getByName(name:String):List<Nurse>
    fun getNurseByPhone(phone:String):Nurse
    fun getNursesByDepartment(department:Int):List<Nurse>
}